import 'package:hive/hive.dart';

part 'user_submission_model.g.dart';

@HiveType(typeId: 10)
class UserSubmissionModel extends HiveObject {
  @HiveField(0)
  String id;

  @HiveField(1)
  String userId;

  @HiveField(2)
  String imageUrl;

  @HiveField(3)
  String activityId;

  @HiveField(4)
  DateTime submitDate;

  UserSubmissionModel({
    required this.id,
    required this.userId,
    required this.imageUrl,
    required this.activityId,
    required this.submitDate,
  });
}
